<?php if(count($this->_tpl_vars['array']) > 0){ ?>
<?php if (count($this->_tpl_vars['array'])>0){$divid_list=1;for($list=0;$list<count($this->_tpl_vars['array']); $list++){?>
	<?php if($this->_tpl_vars['array'][$list]['level']==0){ ?>
<div class="infolist3">
	<?php }else{ ?>
	<div class="infolist" title="<?php echo $this->_tpl_vars['array'][$list]['typename'] ?> - <?php echo $this->_tpl_vars['array'][$list]['lng'] ?>/<?php echo $this->_tpl_vars['array'][$list]['dirpath'] ?>">
		<?php } ?>
		<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
			<tr>
				<td width="4%"><input type="checkbox" name="selectinfoid" value="<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>"></td>
				<td width="5%">
					<input type="hidden" name="infoid" id="infoid" value="<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>">
					<input type="text" name="pid" size="1" value="<?php echo $this->_tpl_vars['array'][$list]['pid'] ?>" class="infoInput" >
				</td>
				<td width="6%"><?php echo $this->_tpl_vars['array'][$list]['tid'] ?></td>
				<td width="5%"><?php echo $this->_tpl_vars['array'][$list]['lng'] ?></td>
				<td width="26%" id="left" class="padding-left3">
					<?php echo $this->treelist($this->_tpl_vars['array'][$list]['level'],'&nbsp;&nbsp;') ?>├─ <a target="_blank" class="infolink04" href="<?php echo $this->_tpl_vars['array'][$list]['glink'] ?>"><?php echo $this->_tpl_vars['array'][$list]['typename'] ?></a> （<?php echo $this->_tpl_vars['array'][$list]['modelname'] ?>）</td>
				<td width="8%"><?php echo $this->_tpl_vars['array'][$list]['puvname'] ?></td>
				<td width="13%" id="infotype">
					<table>
						<tr>
							<td><?php if($this->_tpl_vars['array'][$list]['typepic']!=''){ ?><span class="pic_ok" title="<?php echo $this->_tpl_vars['ST']['article_pic_ok'] ?>"></span><?php }else{ ?><span class="pic_no" title="<?php echo $this->_tpl_vars['ST']['article_pic_no'] ?>"></span><?php } ?></td>
							<td><?php if($this->_tpl_vars['array'][$list]['isaccessory']==1){ ?><span class="iswindow_ok" title="<?php echo $this->_tpl_vars['ST']['typemanage_isaccessory_ok'] ?>"></span><?php }else{ ?><span class="iswindow_no" title="<?php echo $this->_tpl_vars['ST']['typemanage_isaccessory_no'] ?>"></span><?php } ?></td>
							<td><?php if($this->_tpl_vars['array'][$list]['ismenu']==1){ ?><span class="select_ok"></span><?php }else{ ?><span class="select_no"></span><?php } ?></td>
							<td><?php if($this->_tpl_vars['array'][$list]['isclass']==1){ ?><span class="audit_ok" title="<?php echo $this->_tpl_vars['ST']['typemanage_audit_ok'] ?>"></span><?php }else{ ?><span class="audit_no" title="<?php echo $this->_tpl_vars['ST']['typemanage_audit_no'] ?>"></span><?php } ?></td>
							<td><?php if($this->_tpl_vars['array'][$list]['pageclass']==1){ ?><span class="html_ok" title="<?php echo $this->_tpl_vars['ST']['typemanage_type_add_pageclass_1'] ?>"></span><?php }else{ ?><span class="html_no" title="<?php echo $this->_tpl_vars['ST']['typemanage_type_add_pageclass_2'] ?>"></span><?php } ?></td>
						</tr>
					</table>
				</td>
				<td width="33%" id="infotype">
					<table border="0" style="border-collapse:collapse" bordercolor="#FFFFFF">
						<tr>
							<td><a class="setedit" onclick="javascript:parent.onbotton('<?php echo $this->addslashes($this->_tpl_vars['array'][$list]['typename'],'hc') ?><?php echo $this->_tpl_vars['ST']['typemanage_text_infolist_title'] ?>','index.php?archive=article&action=list&menuid=32&listfunction=articlelist&tid=<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>&mid=<?php echo $this->_tpl_vars['array'][$list]['mid'] ?>&lng=<?php echo $this->_tpl_vars['array'][$list]['lng'] ?>&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'typelist<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>',self.frameElement.getAttribute('name'));" id="typelist<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>" href="#body" title="<?php echo $this->_tpl_vars['ST']['typemanage_text_infolist_title'] ?>" hidefocus="true"><?php echo $this->_tpl_vars['ST']['viewfield_botton'] ?></a></td>
							<?php if($this->powercheck(71,73)==true ){ ?>
							<td class="padding-left3"><a class="setedit3" onclick="javascript:parent.onbotton('<?php echo $this->addslashes($this->_tpl_vars['array'][$list]['typename'],'hc') ?><?php echo $this->_tpl_vars['ST']['typemanage_add_title'] ?>','index.php?archive=typemanage&action=typeadd&upid=<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>&lng=<?php echo $this->_tpl_vars['array'][$list]['lng'] ?>&topid=<?php echo $this->_tpl_vars['array'][$list]['topid'] ?>&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'typeadd<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>',self.frameElement.getAttribute('name'));" id="typeadd<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>" href="#body" title="<?php echo $this->_tpl_vars['array'][$list]['typename'] ?><?php echo $this->_tpl_vars['ST']['typemanage_add_title'] ?>" hidefocus="true"><?php echo $this->_tpl_vars['ST']['typemanage_add_title'] ?></a></td>
							<?php } ?>
							<?php if($this->powercheck(71,96)==true ){ ?>
							<td class="padding-left3"><a class="setedit" onclick="javascript:parent.onbotton('<?php echo $this->addslashes($this->_tpl_vars['array'][$list]['typename'],'hc') ?><?php echo $this->_tpl_vars['ST']['typemanage_edit_title'] ?>','index.php?archive=typemanage&action=typeedit&tid=<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>&type=edit&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true,'typeedit<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>',self.frameElement.getAttribute('name'));" id="typeedit<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>" href="#body" title="<?php echo $this->_tpl_vars['array'][$list]['typename'] ?><?php echo $this->_tpl_vars['ST']['typemanage_edit_title'] ?>" hidefocus="true"><?php echo $this->_tpl_vars['ST']['setedit_botton'] ?></a></td>
							<?php } ?>
							<?php if($this->powercheck(71,98)==true ){ ?>
							<td class="padding-left3"><a class="setedit" onclick="javascript:parent.onbotton('<?php echo $this->addslashes($this->_tpl_vars['array'][$list]['typename'],'hc') ?><?php echo $this->_tpl_vars['ST']['typeshift_botton'] ?>','index.php?archive=typemanage&action=typeshift&tid=<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>&type=edit&freshid='+Math.random()+'&iframename='+self.frameElement.getAttribute('name'),true);" href="#body" title="<?php echo $this->_tpl_vars['array'][$list]['typename'] ?><?php echo $this->_tpl_vars['ST']['typeshift_botton'] ?>" hidefocus="true"><?php echo $this->_tpl_vars['ST']['typeshift_botton'] ?></a></td>
							<?php } ?>
							<?php if($this->powercheck(71,97)==true ){ ?>
							<td class="padding-left3"><a class="setedit" onclick="javascript:submiturl('index.php?archive=typemanage&action=deltype&tid=<?php echo $this->_tpl_vars['array'][$list]['tid'] ?>&freshid='+Math.random(),'index.php?archive=management&action=load','<?php echo $this->_tpl_vars['ST']['run_ok'] ?>','<?php echo $this->_tpl_vars['ST']['run_no'] ?>',true,'<?php echo $this->_tpl_vars['ST']['del_messok'] ?>','selectform','selectall','check_all');" href="#body" title="<?php echo $this->_tpl_vars['ST']['setdel_botton'] ?>" hidefocus="true"><?php echo $this->_tpl_vars['ST']['setdel_botton'] ?></a></td>
							<?php } ?>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</div>
	<?php }} ?>
	<?php }else{ ?>
	<div class="infolist">
		<table border="0" style="border-collapse:collapse" width="100%" bordercolor="#FFFFFF">
			<tr>
				<td align="center"><?php echo $this->_tpl_vars['ST']['list_nothing_title'] ?></td>
			</tr>
		</table>
	</div>
	<?php } ?>